package com.huawei.crm.mapper;

import com.huawei.crm.domain.Customer;
import com.huawei.crm.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerMapper extends BaseRepository<Customer, Long> {

    List<Customer> selectForList(QueryObject qo);

    void updateStatus(@Param("customerId") Long customerId, @Param("status") Integer status);

    void updateSellerById(@Param("sellerId") Long sellerId, @Param("customerId") Long customerId);
}